package demo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class fosdemo
{
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("./fos1.data");
        fos.write(65);
        System.out.println("File written");
        fos.close();
    }
}
